<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - Bootstrap Table</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="{{ asset('admin/css/bootstrap.min.css?v=3.3.6') }}" rel="stylesheet">
    <link href="{{ asset('admin/css/font-awesome.css?v=4.4.0') }}" rel="stylesheet">
    <link href="{{ asset('admin/css/plugins/bootstrap-table/bootstrap-table.min.css') }}" rel="stylesheet">
    <link href="{{ asset('admin/css/animate.css') }}" rel="stylesheet">
    <link href="{{ asset('admin/css/style.css?v=4.1.0') }}" rel="stylesheet">


</head>

<body class="gray-bg">

<div class="col-sm-12 wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>新增</h5>
                    <div class="ibox-tools">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <form role="form" method="post" action="{{ route('admin.levels.store') }}">
                                @csrf
                                <div class="form-group">
                                    <label>名称</label>
                                    <input name="name" placeholder="请输入名称"  value="{{ old('name') }}" class="form-control" required="">
                                    @error('name')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                    @enderror
                                </div>
                                <div class="form-group">
                                    <label>权重</label>
                                    <input name="weight" placeholder="请输入权重"  value="{{ old('weight') }}" class="form-control" required="">
                                    @error('name')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                    @enderror
                                </div>
{{--                                <div class="form-group">--}}
{{--                                    <label>文案1</label>--}}
{{--                                    <input name="input_1" placeholder="请输入"  value="{{ old('input_1') }}" class="form-control" required="">--}}
{{--                                    @error('input_1')--}}
{{--                                    <span class="invalid-feedback" role="alert">--}}
{{--                                        <strong>{{ $message }}</strong>--}}
{{--                                    </span>--}}
{{--                                    @enderror--}}
{{--                                </div>--}}
{{--                                <div class="form-group">--}}
{{--                                    <label>文案2</label>--}}
{{--                                    <input name="input_2" placeholder="请输入"  value="{{ old('input_2') }}" class="form-control" required="">--}}
{{--                                    @error('input_2')--}}
{{--                                    <span class="invalid-feedback" role="alert">--}}
{{--                                        <strong>{{ $message }}</strong>--}}
{{--                                    </span>--}}
{{--                                    @enderror--}}
{{--                                </div>--}}
{{--                                <div class="form-group">--}}
{{--                                    <label>文案3</label>--}}
{{--                                    <input name="input_3" placeholder="请输入"  value="{{ old('input_3') }}" class="form-control" required="">--}}
{{--                                    @error('input_3')--}}
{{--                                    <span class="invalid-feedback" role="alert">--}}
{{--                                        <strong>{{ $message }}</strong>--}}
{{--                                    </span>--}}
{{--                                    @enderror--}}
{{--                                </div>--}}
                                <div>
                                    <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>保存</strong></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- 全局js -->
<script src="{{ asset('admin/js/jquery.min.js?v=2.1.4') }}"></script>
<script src="{{ asset('admin/js/bootstrap.min.js?v=3.3.6') }}"></script>

</body>

</html>
